package com.ECPDemo.service;

import java.util.List;

import com.ECPDemo.pojo.ECPResult;
import com.ECPDemo.pojo.Order;
import com.ECPDemo.pojo.OrderInfo;
import com.ECPDemo.pojo.OrderItem;
import com.ECPDemo.pojo.OrderShipping;

public interface OrderService {
	
	ECPResult createOrder(List<OrderItem> items,OrderShipping orderShipping,String payment);
	
	List<OrderInfo> getOrderList(Order order,Integer page, Integer rows);
	
	Integer getOrderListCount(Order order);
}
